package xian.woniu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Patient implements Serializable {
    private Integer pid;

    private Integer uid;

    private String pname;

    private String pcard;

    private String ptel;

    private Integer page;

    private String psex;

    private String paddress;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date pbirthday;

    private String pimage;

    private String ostate;

    private static final long serialVersionUID = 1L;

}